// JavaScript Document

//卡号小键盘 	 

      $(function(){ 
	  
	  
      $("#kakeyboard").bind('click', function() { 
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".kavkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#kakeybon").val(""); 
		 
	  $("#kakeybon").attr("readonly",true);
	 
	  $("#kalogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#kavk").show(); 
      });
	  
	  $("#kakeybon").bind('focus',function(){ 
	  
	  if (!$("#kakeybon").val()==""){
		  
		  $("#kavk").show();
		  
		  }
	
      });  
      //点击数字 
      $(".kavkli").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
    	  $(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#kakeybon").val();
    	  if(textvar.length<10){
    		  $("#kakeybon").val($("#kakeybon").val() + "" + $(this).html());
    	  }	  
      }); 
	  
      //清空 确认 
      $("#kavkbtnClear").bind('click',function(){ 
	  
      $("#kakeybon").val(""); 
	  
	  $("#kakeybon").attr("readonly",false);
	 
	  $("#kalogin_input").css("border","1px solid #ccc");
	  
	  $("#kavk").hide();
	 
	 
      }); 
	  
      $("#kavkbtnOK").bind('click',function(){ 
	  
	  if ($("#kakeybon").val()==""){
		  
		  $("#kakeybon").attr("readonly",false);
	 
	      $("#kalogin_input").css("border","1px solid #ccc");
		  
	      $("#kavk").hide();
		  
		  }
		  
		  else{
			  
      $("#kavk").hide(); 
	  
		  }
	
      }); 
	  
      });


//登录密码小键盘 
 $(function(){ 
	  
	  
      $("#pwdkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".pwdvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#pwdkeybon").val("");
	  $("#e_password").val("");
		 
	  $("#pwdkeybon").attr("readonly",true);
	 
	  $("#pwdlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#pwdvk").show(); 
      }); 
	  
	  $("#pwdkeybon").bind('focus',function(){ 
	  
	  if (!$("#pwdkeybon").val()==""){
		  
		  $("#pwdvk").show();
		  
		  }
	
      });
	 
	//卡号登录点击数字 
	    $(".pwdvkli").bind('click',function(){ 
		  	var addvar = $(this).html();
		  	var textvar = $("#pwdkeybon").val();
		  	var hasvar  = $("#e_password").val();
		  	if(textvar.length<6){
		  		if(addvar=="1"){
		  			addvar="11";
		  		}else if(addvar=="5"){
		  			addvar="12";
		  		}
		        $("#e_password").val(hasvar+"|"+encryptedString(key, encodeURIComponent(addvar)));
		    	$("#pwdkeybon").val($("#pwdkeybon").val() + "*" );
		  	}
	    }); 
	    //卡号登录清空确认 
	    $("#pwdvkbtnClear").bind('click',function(){ 	  
	      $("#pwdkeybon").val("");
	      $("#e_password").val("");
		  $("#pwdkeybon").attr("readonly",false);	 
		  $("#pwdlogin_input").css("border","1px solid #ccc");
		  $("#pwdvk").hide();
	    });
	  
	  
      $("#pwdvkbtnOK").bind('click',function(){ 
	  
	  if ($("#pwdkeybon").val()==""){
		  
		  $("#pwdkeybon").attr("readonly",false);
	 
	      $("#pwdlogin_input").css("border","1px solid #ccc");
		  
	      $("#pwdvk").hide();
		  
		  }
		  
		  else{
			  
      $("#pwdvk").hide(); 
	  
		  }
	
      }); 
	  
      });

//验证码小键盘 

     $(function(){ 
	  
	  
      $("#yzkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".yzvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#yzkeybon").val(""); 
		 
	  $("#yzkeybon").attr("readonly",true);
	 
	  $("#yzlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#yzvk").show(); 
      }); 
	  
	  $("#yzkeybon").bind('focus',function(){ 
	  
	  if (!$("#yzkeybon").val()==""){
		  $("#yzkeybon").val("");
		  $("#yzvk").show();
		  
		  }
	
      });
	  
      //点击数字 
      $(".yzvkli").bind('click',function(){ 
	  
      $("#yzkeybon").val($("#yzkeybon").val() + "" + $(this).html());
	  
      }); 
	  
      //清空 确认 
      $("#yzvkbtnClear").bind('click',function(){ 
	
      $("#yzkeybon").val(""); 
	  
	  $("#yzkeybon").attr("readonly",false);
	 
	  $("#yzlogin_input").css("border","1px solid #ccc");
	  
	  $("#yzvk").hide();
	 
	 
      }); 
	  
      $("#yzvkbtnOK").bind('click',function(){ 
	  
	  if ($("#yzkeybon").val()==""){
		  
		  $("#yzkeybon").attr("readonly",false);
	 
	      $("#yzlogin_input").css("border","1px solid #ccc");
		  
	      $("#yzvk").hide();
		  
		  }
		  
		  else{
			  
      $("#yzvk").hide(); 
	  
		  }
	
      }); 
	  
      });

//手机小键盘 	 

     $(function(){ 
	  
	  
      $("#sjkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".sjvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#sjkeybon").val(""); 
		 
	  $("#sjkeybon").attr("readonly",true);
	 
	  $("#sjlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#sjvk").show(); 
      });
	  
	  $("#sjkeybon").bind('focus',function(){ 
	  
	  if (!$("#sjkeybon").val()==""){
		  
		  $("#sjvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".sjvkli").bind('click',function(){ 
	  
      $("#sjkeybon").val($("#sjkeybon").val() + "" + $(this).html());
	  
      }); 
	  
      //清空 确认 
      $("#sjvkbtnClear").bind('click',function(){ 
	  
      $("#sjkeybon").val(""); 
	  
	  $("#sjkeybon").attr("readonly",false);
	 
	  $("#sjlogin_input").css("border","1px solid #ccc");
	  
	  $("#sjvk").hide();
	 
	 
      }); 
	  
      $("#sjvkbtnOK").bind('click',function(){ 
	  
	  if ($("#sjkeybon").val()==""){
		  
		  $("#sjkeybon").attr("readonly",false);
	 
	      $("#sjlogin_input").css("border","1px solid #ccc");
		  
	      $("#sjvk").hide();
		  
		  }
		  
		  else{
			  
      $("#sjvk").hide(); 
	  
		  }
	
      }); 
	  
      });

//登录密码小键盘 

      $(function(){ 
	  
	  
      $("#sjpwdkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".sjpwdvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#sjpwdkeybon").val(""); 
	  
	  $("#e_sjpassword").val("");
		 
	  $("#sjpwdkeybon").attr("readonly",true);
	 
	  $("#sjpwdlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#sjpwdvk").show(); 
      });
	  
	  $("#sjpwdkeybon").bind('focus',function(){ 
	  
	  if (!$("#sjpwdkeybon").val()==""){
		  
		  $("#sjpwdvk").show();
		  
		  }
	
      });
	  
	  //手机登录点击数字 
	    $(".sjpwdvkli").bind('click',function(){ 
		  	var addvar = $(this).html();
		  	var textvar = $("#sjpwdkeybon").val();
		  	var hasvar  = $("#e_sjpassword").val();
		  	if(textvar.length<6){
		  		if(addvar=="1"){
		  			addvar="11";
		  		}else if(addvar=="5"){
		  			addvar="12";
		  		}
		        $("#e_sjpassword").val(hasvar+"|"+encryptedString(key, encodeURIComponent(addvar)));
		    	$("#sjpwdkeybon").val($("#sjpwdkeybon").val() + "*" );
		  	}
	    }); 
	    //手机登录清空确认 
	    $("#sjpwdvkbtnClear").bind('click',function(){ 	  
	      $("#sjpwdkeybon").val("");
	      $("#e_sjpassword").val("");
		  $("#sjpwdkeybon").attr("readonly",false);	 
		  $("#sjpwdlogin_input").css("border","1px solid #ccc");
		  $("#sjpwdvk").hide();
	    });  
	  
      $("#sjpwdvkbtnOK").bind('click',function(){ 
	  
	  if ($("#sjpwdkeybon").val()==""){
		  
		  $("#sjpwdkeybon").attr("readonly",false);
	 
	      $("#sjpwdlogin_input").css("border","1px solid #ccc");
		  
	      $("#sjpwdvk").hide();
		  
		  }
		  
		  else{
			  
      $("#sjpwdvk").hide(); 
	  
		  }
	
      }); 
	  
      });

//手机图片验证码小键盘 

     $(function(){ 
	  
	  
      $("#sjyzkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".sjyzvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#sjyzkeybon").val(""); 
		 
	  $("#sjyzkeybon").attr("readonly",true);
	 
	  $("#sjyzlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#sjyzvk").show(); 
      });
	  
	  $("#sjyzkeybon").bind('focus',function(){ 
	  
	  if (!$("#sjyzkeybon").val()==""){
		  
		  $("#sjyzvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".sjyzvkli").bind('click',function(){ 
	  
      $("#sjyzkeybon").val($("#sjyzkeybon").val() + "" + $(this).html());
	  
      }); 
	  
      //清空 确认 
      $("#sjyzvkbtnClear").bind('click',function(){ 
	  
      $("#sjyzkeybon").val(""); 
	  
	  $("#sjyzkeybon").attr("readonly",false);
	 
	  $("#sjyzlogin_input").css("border","1px solid #ccc");
	  
	  $("#sjyzvk").hide();
	 
	 
      }); 
	  
      $("#sjyzvkbtnOK").bind('click',function(){ 
	  
	  if ($("#sjyzkeybon").val()==""){
		  
		  $("#sjyzkeybon").attr("readonly",false);
	 
	      $("#sjyzlogin_input").css("border","1px solid #ccc");
		  
	      $("#sjyzvk").hide();
		  
		  }
		  
		  else{
			  
      $("#sjyzvk").hide(); 
	  
		  }
	
      }); 
	  
      });

//短信验证码小键盘 

     $(function(){ 
	  
	  
      $("#dxyzkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".dxyzvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#dxyzkeybon").val(""); 
		 
	  $("#dxyzkeybon").attr("readonly",true);
	 
	  $("#dxyzlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#dxyzvk").show(); 
      });
	  
	  $("#dxyzkeybon").bind('focus',function(){ 
	  
	  if (!$("#dxyzkeybon").val()==""){
		  
		  $("#dxyzvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".dxyzvkli").bind('click',function(){ 
	  
      $("#dxyzkeybon").val($("#dxyzkeybon").val() + "" + $(this).html());
	  
      }); 
	  
      //清空 确认 
      $("#dxyzvkbtnClear").bind('click',function(){ 
	  
      $("#dxyzkeybon").val(""); 
	  
	  $("#dxyzkeybon").attr("readonly",false);
	 
	  $("#dxyzlogin_input").css("border","1px solid #ccc");
	  
	  $("#dxyzvk").hide();
	 
	 
      }); 
	  
      $("#dxyzvkbtnOK").bind('click',function(){ 
	  
	  if ($("#dxyzkeybon").val()==""){
		  
		  $("#dxyzkeybon").attr("readonly",false);
	 
	      $("#dxyzlogin_input").css("border","1px solid #ccc");
		  
	      $("#dxyzvk").hide();
		  
		  }
		  
		  else{
			  
      $("#dxyzvk").hide(); 
	  
		  }
	
      }); 
	  
      });
	  	  
     
   //公用小键盘 

     $(function(){ 
	  
	  
      $("#compwdkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".compwdvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#compwdkeybon").val(""); 
		 
	  $("#compwdkeybon").attr("readonly",true);
	 
	  $("#compwdlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#compwdvk").show(); 
      });
	  
	  $("#compwdkeybon").bind('focus',function(){ 
	  
	  if (!$("#compwdkeybon").val()==""){
		  
		  $("#compwdvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".compwdvkli").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#compwdkeybon").val();
    	  if(textvar.length<6){
    		  $("#compwdkeybon").val($("#compwdkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#compwdvkbtnClear").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
      $("#compwdkeybon").val(""); 
	  
	  $("#compwdkeybon").attr("readonly",false);
	 
	  $("#compwdlogin_input").css("border","1px solid #ccc");
	  
	  $("#compwdvk").hide();
	 
	 
      }); 
      
      $("#compwdvkbtnOK").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
	  if ($("#compwdkeybon").val()==""){
		  
		  $("#compwdkeybon").attr("readonly",false);
	 
	      $("#compwdlogin_input").css("border","1px solid #ccc");
		  
	      $("#compwdvk").hide();
		  
		  }
		  
		  else{
			  
      $("#compwdvk").hide(); 
	  
		  }
	
      }); 
	  
      });
     
     
     
     //公用小键盘 

     $(function(){ 
	  
	  
      $("#newPwdkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".newPwdvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#newPwdkeybon").val(""); 
		 
	  $("#newPwdkeybon").attr("readonly",true);
	 
	  $("#newPwdlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#newPwdvk").show(); 
      });
	  
	  $("#newPwdkeybon").bind('focus',function(){ 
	  
	  if (!$("#newPwdkeybon").val()==""){
		  
		  $("#newPwdvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".newPwdvkli").bind('click',function(){
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#newPwdkeybon").val();
    	  if(textvar.length<6){
    		  $("#newPwdkeybon").val($("#newPwdkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#newPwdvkbtnClear").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
      $("#newPwdkeybon").val(""); 
	  
	  $("#newPwdkeybon").attr("readonly",false);
	 
	  $("#newPwdlogin_input").css("border","1px solid #ccc");
	  
	  $("#newPwdvk").hide();
	 
	 
      }); 
      
      $("#newPwdvkbtnOK").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
	  if ($("#newPwdkeybon").val()==""){
		  
		  $("#newPwdkeybon").attr("readonly",false);
	 
	      $("#newPwdlogin_input").css("border","1px solid #ccc");
		  
	      $("#newPwdvk").hide();
		  
		  }
		  
		  else{
			  
      $("#newPwdvk").hide(); 
	  
		  }
	
      }); 
	  
      });
     
     
     //公用小键盘 

     $(function(){ 
	  
	  
      $("#newQPwdkeyboard").bind('click', function() { 
	
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".newQPwdvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      }); 
	  
	  $("#newQPwdkeybon").val(""); 
		 
	  $("#newQPwdkeybon").attr("readonly",true);
	 
	  $("#newQPwdlogin_input").css("border","1px solid #999");
	  	  
      //键盘显示 
	  
      $("#newQPwdvk").show(); 
      });
	  
	  $("#newQPwdkeybon").bind('focus',function(){ 
	  
	  if (!$("#newQPwdkeybon").val()==""){
		  
		  $("#newQPwdvk").show();
		  
		  }
	
      });
	   
      //点击数字 
      $(".newQPwdvkli").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#newQPwdkeybon").val();
    	  if(textvar.length<6){
    		  $("#newQPwdkeybon").val($("#newQPwdkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#newQPwdvkbtnClear").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
      $("#newQPwdkeybon").val(""); 
	  
	  $("#newQPwdkeybon").attr("readonly",false);
	 
	  $("#newQPwdlogin_input").css("border","1px solid #ccc");
	  
	  $("#newQPwdvk").hide();
	 
	 
      }); 
      
      $("#newQPwdvkbtnOK").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
	  if ($("#newQPwdkeybon").val()==""){
		  
		  $("#newQPwdkeybon").attr("readonly",false);
	 
	      $("#newQPwdlogin_input").css("border","1px solid #ccc");
		  
	      $("#newQPwdvk").hide();
		  
		  }
		  
		  else{
			  
      $("#newQPwdvk").hide(); 
	  
		  }
	
      }); 
	  
      });
     
     
     
     
     
     
     
   //公用小键盘 

     $(function(){ 
	  
      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".compwdTvvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      });
	  
	   
      //点击数字 
      $(".compwdTvvkli").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#compwdTvkeybon").val();
    	  if(textvar.length<6){
    		  $("#compwdTvkeybon").val($("#compwdTvkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#compwdTvvkbtnClear").bind('click',function(){
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
	  
      $("#compwdTvkeybon").val(""); 

      }); 
      
      //退格 确认 
      $("#compwdTvvkbtnBack").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var value = $("#compwdTvkeybon").val(); 
    	  value = value.substring(0,value.length-1);
    	  $("#compwdTvkeybon").val(value);
      });
      
      });
     
     
     //公用小键盘 

     $(function(){ 

      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".newPwdTvvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      });
	  
	   
      //点击数字 
      $(".newPwdTvvkli").bind('click',function(){
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#newPwdTvkeybon").val();
    	  if(textvar.length<6){
    		  $("#newPwdTvkeybon").val($("#newPwdTvkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#newPwdTvvkbtnClear").bind('click',function(){
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  $("#newPwdTvkeybon").val(""); 
      }); 
      
      //退格 确认 
      $("#newPwdTvvkbtnBack").bind('click',function(){ 	
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var value = $("#newPwdTvkeybon").val(); 
    	  value = value.substring(0,value.length-1);
    	  $("#newPwdTvkeybon").val(value);
      });
      
      });
     
     
   //公用小键盘 

     $(function(){ 

      //键盘初始化 
      var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
      $(".newQPwdTvvkli").each(function(i){ 
      var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
      arr.splice(index,1); 
	  
      });
	  
	   
      //点击数字 
      $(".newQPwdTvvkli").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
    	  $(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var textvar = $("#newQPwdTvkeybon").val();
    	  if(textvar.length<6){
    		  $("#newQPwdTvkeybon").val($("#newQPwdTvkeybon").val() + "" + $(this).html());
    	  }
      }); 
	  
      //清空 确认 
      $("#newQPwdTvvkbtnClear").bind('click',function(){ 
    	$(".Validform_checktip").text("");
		$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
      $("#newQPwdTvkeybon").val(""); 

      }); 
      
    //退格 确认 
      $("#newQPwdTvvkbtnBack").bind('click',function(){ 
    	  $(".Validform_checktip").text("");
			$(".Validform_checktip").removeClass("Validform_checktip Validform_wrong").addClass("Validform_checktip");
    	  var value = $("#newQPwdTvkeybon").val(); 
    	  value = value.substring(0,value.length-1);
    	  $("#newQPwdTvkeybon").val(value);
      });
      
      });
     
   /**新加密方式密码控件1password**/
     $(function(){ 
    	  
    	  
          $("#pc_pwdkeyboard").bind('click', function() { 
    	
          //键盘初始化 
          var arr = [0,1,2,3,4,5,6,7,8,9]; 
    	  
          $(".pc_pwdvkli").each(function(i){ 
          var index = parseInt(Math.random()*arr.length); 
    	  $(this).html(arr[index]); 
          arr.splice(index,1); 
    	  
          }); 
    	  
    	  $("#password").val("");
    	  $("#e_password").val("");
    		 
    	  $("#password").attr("readonly",true);
    	 
    	  $("#pc_pwdlogin_input").css("border","1px solid #999");
    	  	  
          //键盘显示 
    	  
          $("#pc_pwdvk").show(); 
          }); 
    	  
    	  $("#password").bind('focus',function(){
    		  if (!$("#password").val()==""){
    		  $("#password").val("");
        	  $("#e_password").val("");
    		  $("#pc_pwdvk").show();
    		  
    		  }
    	
          });
    	 
    	//卡号登录点击数字 
    	    $(".pc_pwdvkli").bind('click',function(){ 
    		  	var textvar = $("#password").val();
    		  	if(textvar.length<6){
	    		  	//加密
	       			 var encstr = strEnc($(this).html());
	       			 if($("#e_password").val()==""){
	       				 $("#e_password").val(encstr);
	       			 }else{
	       				 $("#e_password").val($("#e_password").val() + "|" + encstr);
	       			 }
    		    	$("#password").val($("#password").val() + "*" );
    		  	}
    	    }); 
    	    //卡号登录清空确认 
    	    $("#pc_pwdvkbtnClear").bind('click',function(){ 	  
    	      $("#password").val("");
    	      $("#e_password").val("");
    		  $("#password").attr("readonly",false);	 
    		  $("#pc_pwdlogin_input").css("border","1px solid #ccc");
    		  $("#pc_pwdvk").hide();
    	    });
    	  
    	  
          $("#pc_pwdvkbtnOK").bind('click',function(){ 
    	  
    	  if ($("#password").val()==""){
    		  
    		  $("#password").attr("readonly",false);
    	 
    	      $("#pc_pwdlogin_input").css("border","1px solid #ccc");
  
    	      $("#pc_pwdvk").hide();
    		  
    		  }
    		  
    		  else{
    			  
          $("#pc_pwdvk").hide(); 
    	  
    		  }
    	
          }); 
    	  
          });
     
     /**新加密方式密码控件2pc_commonpwdkeyboard**/
     $(function(){ 
    	  
    	  
          $("#pc_commonpwdkeyboard").bind('click', function() { 
    	
          //键盘初始化 
          var arr = [0,1,2,3,4,5,6,7,8,9]; 
    	  
          $(".pc_commonpwdvkli").each(function(i){ 
          var index = parseInt(Math.random()*arr.length); 
    	  $(this).html(arr[index]); 
          arr.splice(index,1); 
    	  
          }); 
    	  
    	  $("#pc_commonpwdkeybon").val("");
    	  $("#e_commonpassword").val("");
    		 
    	  $("#pc_commonpwdkeybon").attr("readonly",true);
    	 
    	  $("#pc_commonpwdlogin_input").css("border","1px solid #999");
    	  	  
          //键盘显示 
    	  
          $("#pc_commonpwdvk").show(); 
          }); 
    	  
    	  $("#pc_commonpwdkeybon").bind('focus',function(){ 
    	  
    	  if (!$("#pc_commonpwdkeybon").val()==""){
    		  
    		  $("#pc_commonpwdkeybon").val("");
        	  $("#e_commonpassword").val("");
    		  $("#pc_commonpwdvk").show();
    		  
    		  }
    	
          });
    	 
    	//卡号登录点击数字 
    	    $(".pc_commonpwdvkli").bind('click',function(){ 
    		  	var textvar = $("#pc_commonpwdkeybon").val();
    		  	if(textvar.length<6){
	    		  	//加密
	       			 var encstr = strEnc($(this).html());
	       			 if($("#e_commonpassword").val()==""){
	       				 $("#e_commonpassword").val(encstr);
	       			 }else{
	       				 $("#e_commonpassword").val($("#e_commonpassword").val() + "|" + encstr);
	       			 }
    		    	$("#pc_commonpwdkeybon").val($("#pc_commonpwdkeybon").val() + "*" );
    		  	}
    	    }); 
    	    //卡号登录清空确认 
    	    $("#pc_commonpwdvkbtnClear").bind('click',function(){ 	  
    	      $("#pc_commonpwdkeybon").val("");
    	      $("#e_commonpassword").val("");
    		  $("#pc_commonpwdkeybon").attr("readonly",false);	 
    		  $("#pc_commonpwdlogin_input").css("border","1px solid #ccc");
    		  $("#pc_commonpwdvk").hide();
    	    });
    	  
    	  
          $("#pc_commonpwdvkbtnOK").bind('click',function(){ 
    	  
    	  if ($("#pc_commonpwdkeybon").val()==""){
    		  
    		  $("#pc_commonpwdkeybon").attr("readonly",false);
    	 
    	      $("#pc_commonpwdlogin_input").css("border","1px solid #ccc");
    		  
    	      $("#pc_commonpwdvk").hide();
    		  
    		  }
    		  
    		  else{
    			  
          $("#pc_commonpwdvk").hide(); 
    	  
    		  }
    	
          }); 
    	  
          });
     
     /**新加密方式密码控件3pc_qpwdkeyboard**/
     $(function(){ 
    	  
    	  
          $("#pc_qpwdkeyboard").bind('click', function() { 
    	
          //键盘初始化 
          var arr = [0,1,2,3,4,5,6,7,8,9]; 
    	  
          $(".pc_qpwdvkli").each(function(i){ 
          var index = parseInt(Math.random()*arr.length); 
    	  $(this).html(arr[index]); 
          arr.splice(index,1); 
    	  
          }); 
    	  
    	  $("#pc_qpwdkeybon").val("");
    	  $("#e_qpassword").val("");
    		 
    	  $("#pc_qpwdkeybon").attr("readonly",true);
    	 
    	  $("#pc_qpwdlogin_input").css("border","1px solid #999");
    	  	  
          //键盘显示 
    	  
          $("#pc_qpwdvk").show(); 
          }); 
    	  
    	  $("#pc_qpwdkeybon").bind('focus',function(){ 
    	  
    	  if (!$("#pc_qpwdkeybon").val()==""){
    		  
    		  $("#pc_qpwdkeybon").val("");
        	  $("#e_qpassword").val("");
    		  $("#pc_qpwdvk").show();
    		  
    		  }
    	
          });
    	 
    	//卡号登录点击数字 
    	    $(".pc_qpwdvkli").bind('click',function(){ 
    		  	var textvar = $("#pc_qpwdkeybon").val();
    		  	if(textvar.length<6){
	    		  	//加密
	       			 var encstr = strEnc($(this).html());
	       			 if($("#e_qpassword").val()==""){
	       				 $("#e_qpassword").val(encstr);
	       			 }else{
	       				 $("#e_qpassword").val($("#e_qpassword").val() + "|" + encstr);
	       			 }
    		    	$("#pc_qpwdkeybon").val($("#pc_qpwdkeybon").val() + "*" );
    		  	}
    	    }); 
    	    //卡号登录清空确认 
    	    $("#pc_qpwdvkbtnClear").bind('click',function(){ 	  
    	      $("#pc_qpwdkeybon").val("");
    	      $("#e_qpassword").val("");
    		  $("#pc_qpwdkeybon").attr("readonly",false);	 
    		  $("#pc_qpwdlogin_input").css("border","1px solid #ccc");
    		  $("#pc_qpwdvk").hide();
    	    });
    	    
    	  
          $("#pc_qpwdvkbtnOK").bind('click',function(){ 
    	  
    	  if ($("#pc_qpwdkeybon").val()==""){
    		  
    		  $("#pc_qpwdkeybon").attr("readonly",false);
    	 
    	      $("#pc_qpwdlogin_input").css("border","1px solid #ccc");
    		  
    	      $("#pc_qpwdvk").hide();
    		  
    		  }
    		  
    		  else{
    			  
          $("#pc_qpwdvk").hide(); 
    	  
    		  }
    	
          }); 
    	  
          });
     
   //增加提示卡号小键盘 	 

     $(function(){ 
	  
	  
     $("#tskakeyboard").bind('click', function() { 
	
     //键盘初始化 
     var arr = [0,1,2,3,4,5,6,7,8,9]; 
	  
     $(".tskavkli").each(function(i){ 
     var index = parseInt(Math.random()*arr.length); 
	  $(this).html(arr[index]); 
     arr.splice(index,1); 
	  
     }); 
	  
	  $("#username").val(""); 
		 
	  $("#username").attr("readonly",true);
	 
	  $("#tskalogin_input").css("border","1px solid #999");
	  	  
     //键盘显示 
	  
     $("#tskavk").show(); 
     
     });
	  
	  $("#username").bind('focus',function(){ 
	  
		  if (!$("#username").val()==""){
			  if($("#username").val()=="手机号/卡号(末10位)/邮箱/昵称"){
				  $("#username").val("");
			  }
			  $("#tskavk").show();
		  }
     });  
	  
	  $("#username").bind('blur',function(){ 
		  
		  if ($("#username").val()=="手机号/卡号(末10位)/邮箱/昵称"){
			  $("#username").val("");
		  }
     }); 
	  
     //点击数字 
     $(".tskavkli").bind('click',function(){ 
      if($("#username").val()=="手机号/卡号(末10位)/邮箱/昵称"){
  	   $("#username").val(""); 
      }
      if($("#username").val().length<30){
   	   $("#username").focus();
   	   $("#username").val($("#username").val() + "" + $(this).html());
      };
   		  
   		 

     
     }); 
	  
     //清空 确认 
     $("#tskavkbtnClear").bind('click',function(){ 
	  
     $("#username").val("手机号/卡号(末10位)/邮箱/昵称"); 
	  
	  $("#username").attr("readonly",false);
	 
	  $("#tskalogin_input").css("border","1px solid #ccc");
	  
	  $("#tskavk").hide();
	 
	 
     }); 
	  
     $("#tskavkbtnOK").bind('click',function(){ 
	  
	  if ($("#username").val()=="手机号/卡号(末10位)/邮箱/昵称"){
		  $("#username").val(""); 
		  $("#username").attr("readonly",false);
	 
	      $("#tskalogin_input").css("border","1px solid #ccc");
		  
	      $("#tskavk").hide();
		  
		  }
		  
		  else{
			  
     $("#tskavk").hide(); 
	  
		  }
	
     }); 
	  
     });
     
     